			<div class="centCont">
            	<div class="boxCent">
                	<div class="tt-boxCent">
                    	<p>Chi tiết sản phẩm</p>
                        <div class="che-tt-cent"></div>
                    </div><!--tt-boxCent-->
                    <div class="cc-boxCent">
						<div class="chitietsanpham">
							<div class="chitiet-000"><p><?php echo $this->name;?></p></div>
							<?php if (count ($this->arrSanPham) > 0) :?>
							<?php foreach ($this->arrSanPham as $sanPham) :?>
							<div class="khungchitiet">
								<div class="chitiet-111">
									<ul>
										<li>
											<table cellspacing="0" cellpadding="0" width="100%">
												<tbody>
													<tr>
														<td class="product_image_111">
															<a href="#"><img src="<?php echo WEB_LINK . "/";?><?php echo FunctionCommon::getImage('img-the-min', $sanPham['code']);?>" /></a>
														</td>
													</tr>
												</tbody>
											</table>
										</li>
									</ul>
								</div><!--chitiet-111-->
								 <div class="chitiet-222">
									<ul>
										<li>
											<p><?php echo $sanPham['name'];?></p>
										</li>
										<?php if ($sanPham['check_km'] == '1') :?>
										<li> Giá : <?php echo number_format($sanPham['gia2']) . ".000 VNĐ";?> <span class="gach"><?php echo number_format($sanPham['gia1']) . ".000 VNĐ";?></span></li>
										<?php else :?>
										<li> Giá : <?php echo ($sanPham['gia1']!='0') ? number_format($sanPham['gia1']) : number_format($sanPham['gia2']) . ".000 VNĐ";?></li>
										<?php endif;?>
										<li><p>Trong kho còn:<span><?php echo $sanPham['soluong'];?></span><?php echo ($this->danhmucid == '1') ? 'thẻ' : 'sản phẩm';?></p></li>
										<?php if ($sanPham['soluong'] > 0) :?>
										<li class="mua1"><a href="<?php echo WEB_LINK . "/";?>product/them-gio-hang-<?php echo $this->danhmucid;?>-<?php echo $this->iddm;?>-<?php echo $this->subiddm;?>-<?php echo $sanPham['id'];?>#content">Mua</a></li>
										<?php else :?>
										<li class="mua1"><a onclick="messageError()" href="#content">Mua</a></li>
										<?php endif;?>
									</ul>
								</div><!--chitiet-222-->
							</div> <!--khungchitiet-->
							<?php endforeach;?>
							<?php endif;?>
							<?php if (count ($this->CHKH) > 0 && $this->danhmucid == '1') :?>
							<script type="text/javascript" src="<?php echo WEB_LINK . "/";?>js/jquery-1.4.3.min.js"></script> 
							<script type="text/javascript">
							var images = [
							          	'images/b-nau.png',
							          	'images/b-xam.png',
							          	'images/b-xanh.png',
							          	
							          	'images/nau-b.png',
							          	'images/xam-b.png',
							          	'images/xanh-b.png',
							          	
							          	'images/cent-nau.png',
							          	'images/cent-xam.png',
							          	'images/cent-xanh.png',
							          	
							          	'images/dau-nau.png',	
							          	'images/dau-xam.png',
							          	'images/dau-xanh.png',
							          	
							          	'images/nau-0.png',
							          	'images/xam-0.png',
							          	'images/xanh-0.png'
							          ];
							          $(document).ready(function() {

							          	//Default Action
							          	$(".tab_content").hide(); //Hide all content
							          	$("ul.tabs li:first").addClass("active").show(); //Activate first tab
							          	$(".tab_content:first").show(); //Show first tab content
							          	
							          	//On Click Event
							          	$("ul.tabs li").click(function() {
							          		$("ul.tabs li").removeClass("active"); //Remove any "active" class
							          		$(this).addClass("active"); //Add "active" class to selected tab
							          		$(".tab_content").hide(); //Hide all tab content
							          		var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
							          		//$(activeTab).fadeIn(); //Fade in the active content
							          		$(activeTab).show() ;
							          		return false;
							          	});

							          	$(images).each(function() {
							          		//var image = $('<img />').attr('src', this);
							          	});
							          });
							</script>
							<div class="boxCont_A">
								<div class="container">
									<ul class="tabs">
										<li class="first"><a href="#tab1"><span>Thông tin chi tiết</span></a></li>
										<li><a href="#tab2"><span>Hướng dẫn sử dụng</span></a></li>
										<li><a href="#tab3"><span>Khuyến mãi</span></a></li>
										<li class="cuoi"><a href="#tab4"><span>Hỗ trợ</span></a></li>
									</ul>
									<div class="tab_container">
										<div style="display: block;" id="tab1" class="tab_content">
											<div class="xanh">
												<div class="thongtinchitietsanpham">
													<?php echo $this->CHKH['chitiet'];?>
												</div><!--thongtinchitietsanpham-->
											</div><!--End .xanh-->
										</div>
										<div style="display: none;" id="tab2" class="tab_content">
											<div class="xanh">
												<div class="huongdansudungsanpham">
													<?php echo $this->CHKH['huongdan'];?>
												</div><!--huongdansudungsanpham-->
											</div><!--End .xanh-->
										</div>
										<div style="display: none;" id="tab3" class="tab_content">
											<div class="xanh"><?php echo $this->CHKH['khuyenmai'];?></div><!--End .xanh-->    
										</div>
										<div style="display: none;" id="tab4" class="tab_content">
											<div class="xanh">
												<div class="hotrosanpham">
													<?php echo $this->CHKH['hotro'];?>
												</div><!--hotrosanpham-->
											</div><!--End .xanh-->
										</div>
									</div>
								</div>
							</div><!--End .boxCont_A-->
							<?php endif;?>
						</div><!--chitietsanpham-->
                    </div><!--cc-boxCent-->
                </div><!--boxCent-->
                <div class="qc-cent"><img src="<?php echo WEB_LINK . "/";?>images/qc-cent-1.jpg" /></div><!--qc-cent-->
            </div><!--centCont-->